package com.jmlee.mapper;

import com.jmlee.avo.ChooseSelectVo;
import com.jmlee.pojo.Acarousel;
import org.apache.ibatis.session.RowBounds;

import java.util.List;


/**
 * 广告管理
 *
 * @author xl W
 * @date 2021/3/13 15:57
 */
public interface ACarouselMapper {


    //==================================广告管理=================================================

    //广告管理-广告数据表格总数
    public int selectSAdAcListCount(Acarousel acarousel,Long adminId);

    //广告管理-广告集合
    public List<Acarousel> selectSAdAcList(Acarousel acarousel, RowBounds rowBounds,Long adminId );

    //广告管理-广告数据表格总数
    public int selectAdAcListCount(Acarousel acarousel );

    //广告管理-广告集合
    public List<Acarousel> selectAdAcList(Acarousel acarousel, RowBounds rowBounds );

    //广告列表禁用
    public boolean acarouselForbidden(Acarousel acarousel);
    //广告列表启用
    public boolean carouselStart(Acarousel acarousel);
    //广告列表审核
    public boolean carouselPass(String aId);
    //总店审核广告不通过
    public boolean carouselNoPass(String aId);


    // 添加图片
    public boolean addPicture(Acarousel acarousel);
    //搜索下拉框信息
    public Integer   addAdvertising(Acarousel acarousel);
    //拿到商品类名字
    List<ChooseSelectVo>getCa( );
    //拿到商品名字
    List<ChooseSelectVo>getIt( );


}
